home *** CD-ROM | disk | FTP | other *** search
- on setVolume
- if field "volume selection" = 7 then
- set the soundLevel to 7
- set the visible of sprite 18 to 1
- set the visible of sprite 16 to 0
- set the visible of sprite 17 to 0
- else
- if field "volume selection" = 6 then
- set the soundLevel to 6
- set the visible of sprite 18 to 1
- set the visible of sprite 16 to 0
- set the visible of sprite 17 to 0
- else
- if field "volume selection" = 5 then
- set the soundLevel to 5
- set the visible of sprite 17 to 1
- set the visible of sprite 18 to 0
- set the visible of sprite 16 to 0
- else
- if field "volume selection" = 4 then
- set the soundLevel to 4
- set the visible of sprite 17 to 1
- set the visible of sprite 18 to 0
- set the visible of sprite 16 to 0
- else
- if field "volume selection" = 3 then
- set the soundLevel to 3
- set the visible of sprite 17 to 1
- set the visible of sprite 18 to 0
- set the visible of sprite 16 to 0
- else
- if field "volume selection" = 2 then
- set the soundLevel to 2
- set the visible of sprite 16 to 1
- set the visible of sprite 18 to 0
- set the visible of sprite 17 to 0
- else
- if field "volume selection" = 1 then
- set the soundLevel to 1
- set the visible of sprite 16 to 1
- set the visible of sprite 18 to 0
- set the visible of sprite 17 to 0
- else
- if field "volume selection" = 0 then
- set the soundLevel to 0
- set the visible of sprite 18 to 0
- set the visible of sprite 16 to 0
- set the visible of sprite 17 to 0
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-